/**
 * AboutDialog.java
 * 
 * @author Beatrice Bacelli
 * @author Luca Bedogni
 * @author Silvia Righini
 */
package unibo.lsb.graphic;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;

/**
 * This class creates a frame displaying information on the game and its
 * creators.
 */
public class AboutDialog extends JFrame {

	/**
	 * Constructor
	 */
	public AboutDialog() {
		this.setTitle("About Tokyo");
		JPanel panel = new JPanel();

		JLabel label = new JLabel("Tokyo", JLabel.CENTER);

		label.setForeground(Color.darkGray);
		label.setFont(new Font("Serif", Font.BOLD, 36));

		JLabel authors = new JLabel(
				"Beatrice Bacelli - Silvia Righini - Luca Bedogni");
		authors.setFont(new Font("Serif", Font.BOLD, 16));
		authors.setForeground(Color.black);

		panel.add(label);
		panel.add(authors);

		add(panel);

		setSize(new Dimension(500, 150));
		setLocationRelativeTo(null);
	}
}